
class Item(object):
    field1 = None

i = Item()
print hasattr(i,'field1')
setattr(i,'field1', 1)

print i.field1
